Skip to main content

VertexDegree

VertexDegree[g] gives the list of vertex degrees for all vertices in the graph g.

VertexDegree[g,v] gives the vertex degree for the vertex v.

VertexDegree[{v->w,…},…] uses rules v->w to specify the graph g.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.